Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize yield search #131

Closed
wants to merge 1 commit into from
Closed

optimize yield search #131

wants to merge 1 commit into from

Conversation

achille-roussel
Copy link
Contributor

This change reworks how we look for yield points in the program; instead of building a map of all generic functions we've seen, we do a single pass on the list of functions and check for those that are instantiated from the generic coroutine.Yield function.

Signed-off-by: Achille Roussel <[email protected]>
@chriso
Copy link
Contributor

chriso commented Dec 14, 2023

I need that map in #125 😄 we can remove it here and add it there.

@achille-roussel
Copy link
Contributor Author

Ah my bad, let's just close, probably not worth the pain of changing the code if we're going to depend on it.

@achille-roussel achille-roussel deleted the optimize-yield-search branch December 14, 2023 07:11
@achille-roussel achille-roussel self-assigned this Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants